package io.vertx.example.hystrixFallback;


import org.springframework.stereotype.Component;

import com.dc.dcit.common.vo.UserVO;

import io.vertx.example.feignService.UserFeignService;

@Component
public class FeignServiceFallback implements UserFeignService {

    @Override
    public UserVO findUserByUsername(String name){
        UserVO userVo = new UserVO();
        String desc = "sorry,访问 dcit-service-upms服务 出错, 根据name获取userVo失败， name="+name;
        userVo.setIntroduction(desc);
        return userVo;
    }
    
    
    
}
